package cn.iocoder.yudao.module.erp.dal.dataobject.finance;

import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

/**
 * ERP 财务支出类别 DO
 *
 * @author 芋道源码
 */
@TableName("erp_finance_payment_category")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ErpFinancePaymentCategoryDO extends BaseDO {

    /**
     * 支出类别编号
     */
    @TableId
    private Long id;

    /**
     * 支出类别名称
     */
    private String name;

    /**
     * 关联的现金流编号
     *
     * 关联 {@link ErpFinanceCashFlowDO#getId()}
     */
    private Long cashFlow;

    /**
     * 租户编号
     */
    private Long tenantId;

    /**
     * 是否删除
     */
    private Boolean deleted;

    /**
     * 父类别
     */
    private long parent;
}